<?php

namespace backend\models;

use Yii;

/**
 * This is the model class for table "equity".
 *
 * @property string $equity 权益
 */
class Equity extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'equity';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['equity'], 'string'],
            [['equity'], 'required']
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'equity' => '权益之一',
        ];
    }
}
